projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e9372b
)
Don't emit a useless warning
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Oct 2014 17:17:14 +0000
(13:17 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Oct 2014 17:17:14 +0000
(13:17 -0400)
The warning may have had some value at some point, but if
people uninstall large icons just to make the warning go
away, it does more harm than good. So just remove it.
gdk/x11/gdkwindow-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkwindow-x11.c
b/gdk/x11/gdkwindow-x11.c
index 2f3d9d63b48207ced70d2b2e38102b8d88fcc1f0..fa40f0d46a05d7da107157dfb9389178f8b26a7b 100644
(file)
--- a/
gdk/x11/gdkwindow-x11.c
+++ b/
gdk/x11/gdkwindow-x11.c
@@
-3839,10
+3839,7
@@
gdk_x11_window_set_icon_list (GdkWindow *window,
/* silently ignore overlarge icons */
if (size + 2 + width * height > GDK_SELECTION_MAX_SIZE(display))
- {
- g_warning ("gdk_window_set_icon_list: icon too large (%dx%d)", width, height);
- break;
- }
+ break;
n++;
size += 2 + width * height;